<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:rich="http://richfaces.org/rich">
    <body>
        <h:form id="sideBarId">
            <rich:panelMenu styleClass="panelMenu" mode="none" iconExpandedGroup="disc" iconCollapsedGroup="disc"
                            iconExpandedTopGroup="chevronUp" iconGroupTopPosition="right"
                            iconCollapsedTopGroup="chevronDown" expandSingle="true">

                <rich:panelMenuGroup id="group1Id" label="#{msg.title}">
                    <rich:panelMenuItem>
                        <h:commandLink id="page4LinkId" value="#{msg.login}"
                                       action="#{MBPageViewIdGenerator.sideBarAction}">
                            <f:param id="page4ParamId" name="pageViewId" value="Page4"/>
                        </h:commandLink>
                    </rich:panelMenuItem>

                    <rich:panelMenuItem>
                        <h:commandLink id="page1LinkId" value="#{msg.user_register}"
                                       action="#{MBPageViewIdGenerator.sideBarAction}">
                            <f:param id="page1ParamId" name="pageViewId" value="Page1"/>
                        </h:commandLink>
                    </rich:panelMenuItem>

                    <rich:panelMenuItem>
                        <h:commandLink id="page2LinkId" value="#{msg.up_doc}"
                                       action="#{MBPageViewIdGenerator.sideBarAction}">
                            <f:param id="page2ParamId" name="pageViewId" value="Page2"/>
                        </h:commandLink>
                    </rich:panelMenuItem>

                    <rich:panelMenuItem>
                        <h:commandLink id="page3LinkId" value="#{msg.down_doc}"
                                       action="#{MBPageViewIdGenerator.sideBarAction}">
                            <f:param id="page3ParamId" name="pageViewId" value="Page3"/>
                        </h:commandLink>
                    </rich:panelMenuItem>
                </rich:panelMenuGroup>

            </rich:panelMenu>
        </h:form>
    </body>
</html>